package aooO.crm.Service;

import aooO.crm.pojo.Contacts;
import aooO.crm.pojo.FunnelVO;

import java.util.List;
import java.util.Map;

public interface ContactsService {

    int insertContact(Contacts record);

    List<Contacts> selectContactsByConditionForPage(Map<String ,Object> map);

    int selectTotalPageOfContacts(Map<String,Object> map);

    int UpdateContacts(Contacts contacts);

    int deleteContactsByIds(String[] ids);

    Contacts selectContactsById(String id);

    Contacts selectContactsDetailById(String id);

    List<Contacts> selectContactsByFuzzyName(String name);

    List<FunnelVO> queryCountOfCustomerAndContactsGroupByCustomer();
}
